CVE-2025-6855
chatchat-space Langchain-Chatchat file path traversal
Description
A vulnerability, which was classified as critical, has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This issue affects some unknown processing of the file /v1/file. The manipulation of the argument flag leads to path traversal. The exploit has been disclosed to the public and may be used.
INFO
Published Date :
June 29, 2025, 9:15 a.m.
Last Modified :
Oct. 31, 2025, 7:58 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update to a newer version of the software.
- Apply vendor patches if available.
- Restrict file access and input validation.
Public PoC/Exploit Available at Github
CVE-2025-6855 has a 2 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-6855.
| URL | Resource |
|---|---|
| https://github.com/chatchat-space/Langchain-Chatchat/issues/5354 | Exploit Issue Tracking Vendor Advisory |
| https://vuldb.com/?ctiid.314327 | Permissions Required VDB Entry |
| https://vuldb.com/?id.314327 | Third Party Advisory VDB Entry |
| https://vuldb.com/?submit.601162 | Third Party Advisory VDB Entry |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-6855 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-6855
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
vulnerable AI lab simulating CVE-2025-6855 — a path traversal exploit in a Langchain-ChatChat setup using Ollama.
Shell Python
None
HTML Python Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-6855 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-6855 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 31, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:chatchat-space:langchain-chatchat:*:*:*:*:*:*:*:* versions up to (including) 0.3.1 Added Reference Type VulDB: https://github.com/chatchat-space/Langchain-Chatchat/issues/5354 Types: Exploit, Issue Tracking, Vendor Advisory Added Reference Type VulDB: https://vuldb.com/?ctiid.314327 Types: Permissions Required, VDB Entry Added Reference Type VulDB: https://vuldb.com/?id.314327 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/?submit.601162 Types: Third Party Advisory, VDB Entry -
New CVE Received by [email protected]
Jun. 29, 2025
Action Type Old Value New Value Added Description A vulnerability, which was classified as critical, has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This issue affects some unknown processing of the file /v1/file. The manipulation of the argument flag leads to path traversal. The exploit has been disclosed to the public and may be used. Added CVSS V4.0 AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L Added CVSS V2 (AV:A/AC:L/Au:S/C:P/I:P/A:P) Added CWE CWE-22 Added Reference https://github.com/chatchat-space/Langchain-Chatchat/issues/5354 Added Reference https://vuldb.com/?ctiid.314327 Added Reference https://vuldb.com/?id.314327 Added Reference https://vuldb.com/?submit.601162